﻿namespace Radovici.Ctrls
{
    public class PornZappPlayer : VideoBlock
    {
        public PornZappPlayer()
        {
            Overflow = false;
        }

        protected override string VideoHtml
        {
            get
            {
                //return string.Format(@"<script type = ""text/javascript"" src = ""{0}"" ></script >;", VideoUrl); //NOTE: PornZapp :)
                return HtmlHelper.GetPornZappVideoHtml(VideoUrl, VideoId);
            }
        }

        public bool IsPlaying { get; set; }
    }
}